package com.hk.web.dto.operation;

import com.hk.commons.enums.OperationEvent;
import io.swagger.annotations.ApiModelProperty;

/**
 *
 * @author Antinomy
 * @date 17/12/11
 */

public class OperationLogDTO {

    @ApiModelProperty(value="操作用户ID")
    private Long operatorId;

    @ApiModelProperty(value="事件请求Json")
    private String eventRequestJson;

    @ApiModelProperty(value="主事件类型")
    private OperationEvent event = OperationEvent.UNKNOWN;

    @ApiModelProperty(value="操作人操作终端的IP 地址")
    private String terminalIP;

    @ApiModelProperty(value="操作项名")
    private String operateItemName;

    @ApiModelProperty(value="操作项Id")
    private String operateItemId;

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getEventRequestJson() {
        return eventRequestJson;
    }

    public void setEventRequestJson(String eventRequestJson) {
        this.eventRequestJson = eventRequestJson;
    }

    public OperationEvent getEvent() {
        return event;
    }

    public void setEvent(OperationEvent event) {
        this.event = event;
    }

    public String getTerminalIP() {
        return terminalIP;
    }

    public void setTerminalIP(String terminalIP) {
        this.terminalIP = terminalIP;
    }

    public String getOperateItemName() {
        return operateItemName;
    }

    public void setOperateItemName(String operateItemName) {
        this.operateItemName = operateItemName;
    }

    public String getOperateItemId() {
        return operateItemId;
    }

    public void setOperateItemId(String operateItemId) {
        this.operateItemId = operateItemId;
    }
}
